package xd.ylwy.score.service.impl;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import xd.ylwy.score.entity.StudentScore;
import xd.ylwy.score.entity.TbScore;
import xd.ylwy.score.mapper.TbScoreMapper;
import xd.ylwy.score.service.ITbScoreService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xd
 * @since 2022-09-23
 */
@Service
public class TbScoreServiceImpl extends ServiceImpl<TbScoreMapper, TbScore> implements ITbScoreService {

    @Autowired
    private TbScoreMapper tbScoreMapper;

    public List<StudentScore>studentScore(String id){
        return tbScoreMapper.studentScore(id);

    }

}
